﻿using cc = Crypt.Common;

namespace Crypt.Skynet
{
    public static class Base64
    {
        public static string Encode(string inStr)
        {
            return cc.Base64.Encode(inStr);
        }

        public static string EncodeFromBytes(byte[] inBytes)
        {
            return cc.Base64.EncodeFromBytes(inBytes);
        }

        public static byte[] DecodeToBytes(string inStr)
        {
            return cc.Base64.DecodeToBytes(inStr);
        }

        public static string Decode(string inStr)
        {
            return cc.Base64.Decode(inStr);
        }
    }
}
